namespace AndyPike.Commons.Persistence
{
    public interface IMessageToEntityMapper<TMessage, TEntity> 
        where TMessage : IMessage 
        where TEntity : IEntity
    {
        TEntity Map(TMessage message);
    }
}